$pilotlamp-size: 13px;
$pilotlamp-color-stop: #7f7f7f;
$pilotlamp-color-rendering: orange;
$pilotlamp-color-willSleep: green;


.params-wrapper{
  display: flex;
  align-items: center;
  padding: 2px 13px;
  border-radius: 3px;
  background-color: #3d4345;
  height: $params-height;
  box-sizing: border-box;
  font-size: 12px;
}

.params-logo{
  flex-shrink: 0;
  height: 22px;
  filter: invert(.6);
  margin-right: 10px;
}

.params-block{
  background-color: rgba(255, 255, 255, 0.12);
  height: 18px;
  width: 40px;
  border-radius: 3px;
}

.params-content{
  display: flex;
  align-items: center;
  flex-shrink: 0;

  &+&{
    margin-left: 10px;
  }

  &.tools{
    flex: 1 1;
    min-width: 0;
  }
}

.params-pilotlamp{
  height: $pilotlamp-size;
  width: $pilotlamp-size;
  border-radius: calc($pilotlamp-size / 2);
  transition: background-color .4s, box-shadow .4s;
  background-color: $pilotlamp-color-stop;
  box-shadow: 0 0 2px 3px rgba($pilotlamp-color-stop, .4);
    
  &.willSleep{
    background-color: $pilotlamp-color-willSleep;
    box-shadow: 0 0 2px 3px rgba($pilotlamp-color-willSleep, .4);
    animation: backgroundFlicker .8s infinite;
  }

  &.rendering{
    background-color: $pilotlamp-color-rendering;
    box-shadow: 0 0 2px 3px rgba($pilotlamp-color-rendering, .4);
  }
}



@keyframes backgroundFlicker{
  0%{
    opacity: 1;
  }
  40%{
    opacity: .8;
  }
  100%{
    opacity: 1;
  }
}